package com.me.db;

import android.provider.BaseColumns;
import android.provider.CalendarContract.Events;

public class MeDB {

	public MeDB() {

	}

	// db config
	public static final int DB_VERSION = 1;
	public static final String DB_NAME = "Me.db";

	public static final class EventTable implements BaseColumns {

		public static final String EVENT_TABLE_NAME = "event";
		public static final String EVENT_COLUMN_ID = "id";
		public static final String EVENT_TITLE = Events.TITLE;
		public static final String EVENT_VENUE = Events.EVENT_LOCATION;
		public static final String EVENT_ALL_DAY = Events.ALL_DAY;
		public static final String EVENT_START = Events.DTSTART;
		public static final String EVENT_END = Events.DTEND;
		public static final String EVENT_DURATION = Events.DURATION;
		public static final String EVENT_RULE = Events.RRULE;
		public static final String EVENT_TIME_ZONE = Events.EVENT_TIMEZONE;
		public static final String EVENT_CALENDAR_ID = Events.CALENDAR_ID;

	}

	public static final class TitleTable implements BaseColumns {

		public static final String TITLE_TABLE_NAME = "title";
		public static final String TITLE_ID = "id";
		public static final String TITLE_PREFIX = "prefix";
		public static final String TITLE_NAME = "name";
		public static final String TITLE_COUNT = "count";
		public static final String TITLE_TAG = "tag";
	}
	
	public static final class LocationTable implements BaseColumns {

		public static final String LOCATION_TABLE_NAME = "location";
		public static final String LOCATION_ID = "id";
		public static final String LOCATION_PREFIX = "prefix";
		public static final String LOCATION_NAME = "name";
		public static final String LOCATION_COUNT = "count";
		public static final String LOCATION_TAG = "tag";
	}

}
